home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group99a.txt
/
000148_icon-group-sender _Wed Jul 7 08:11:58 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA00817
for icon-group-addresses; Wed, 7 Jul 1999 08:11:48 -0700 (MST)
Message-Id: <199907071511.IAA00817@baskerville.CS.Arizona.EDU>
From: Tim Patti <timp@clarityconnect.com>
To: icon-group@optima.CS.Arizona.EDU
Subject: Dynamic function loading on Linux
Date: Mon, 5 Jul 1999 12:21:33 -0500
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
I'm looking for a simple solution to using dynamic loading on Linux.
In order to get the test program in icon/tests/calling/loadfunc to work, I've
got to remove or rename icon/src/h/features.h.
What seems to be happening is -
1. bitcount.c includes rt.h
2. icon/src/h/rt.h gets included, which includes
3. icon/src/h/sys.h which includes
4. /usr/local/ctype.h which wants to include /usr/local/features.h
5. because ISRCH in the Makefile points to icon/src/h/ the
icon/src/h/features.h file gets included instead, breaking the
compile.
I created a icon/src/h/dynamic_linux directory that dosen't have
features.h in it that I can point ISRCH to in the Makefile but, I have to
edit a lot of the header files.
The includes in h/rt.h are written as #include "../h/define.h",
which I changed to #include "define.h" in order to make it work
in a different directory. Is there an easier way of dealing with this ?
Tim